Delete Issue
AutomatR.Jira.Activities.DeleteIssue
The "Delete Issue" activity in AutomatR's Jira package leverages the Jira API to delete a specific issue. This activity is designed to streamline the process of removing issues from Jira as part of automation workflows.
Properties
Name | Description |
---|---|
Input | |
Ticket ID | Specifies the ID of the Jira issue to be deleted. Either Ticket ID or Ticket Key is required. String variables containing the Jira issue ID. |
Ticket Key | Specifies the key of the Jira issue to be deleted. Either Ticket ID or Ticket Key is required. String variables containing the Jira issue key. |
Misc | |
Display Name | The display name of the activity. This field supports only strings or String variables. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Delete Issue" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
Output | |
Result | Outputs a Boolean value indicating whether the deletion of the issue was successful (True) or encountered errors (False). Variables of relevant types (e.g., Boolean variables) to store the operation result. |
How to use:
- Drag and drop the "Delete Issue" activity onto the workflow.
- Configure the properties by specifying the Ticket ID or Ticket Key of the Jira issue to be deleted.
- Optionally, configure the delay.
- Execute the workflow to delete the specified Jira issue.
Example: Consider an example where the "Delete Issue" activity is used to delete a Jira issue with the key "PROJ-123":
Delete Issue:
Ticket Key: "PROJ-123"
Result: isIssueDeleted
In this example, the activity deletes the Jira issue "PROJ-123." The result of the operation (success or failure) is stored in the Boolean variable "isIssueDeleted" for further handling in the workflow.